﻿@model TGBTech.Core.Models.DanhMuc.TaiKhoan

@{
    ViewBag.Title = "TaiKhoan";
}


<div class="row">
    <div class="portlet box blue">
        <div class="portlet-title">
            <div class="caption">
                Thêm tài khoản
            </div>
            <div class="tools">
                <button id="close" type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
            </div>
        </div>
        <div class="portlet-body">
            @using (Html.BeginForm("Create", "TaiKhoan", FormMethod.Post, new { id = "formCreateTaiKhoan" }))
            {
                @Html.AntiForgeryToken()

                <div class="form-horizontal">
                    @Html.ValidationSummary(true)
     
                    <div class="form-group">
                        <label class="col-md-3 control-label">Mã tài khoản<span class="required">*</span></label>
                        <div class="col-md-9">
                            @Html.TextBoxFor(model => model.Id, new { @class = "form-control", placeholder = "Mã tài khoản"})
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-md-3 control-label">Tên tài khoản</label>
                        <div class="col-md-9">
                            @Html.TextBoxFor(model => model.Name, new { @class = "form-control", placeholder = "Tên tài khoản" })
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-md-3">Email<span class="required">*</span></label>
                        <div class="col-md-4">
                            <input name="email" type="text" class="form-control" />
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-md-offset-3 col-md-10">
                            <input type="submit" value="Thêm" class="btn blue" />
                        </div>
                    </div>
                </div>
            }
        </div>
    </div>
</div>
